package com.fast.alden.admin.service.impl;

import com.fast.alden.admin.util.SecurityUtils;
import com.fast.alden.data.model.SysUser;
import com.fast.alden.data.service.CurrentSysUserService;
import org.springframework.stereotype.Service;

/**
 * @see com.fast.alden.data.aspect.BaseEntityAuditingListener
 */
@Service
public class CurrentSysUserServiceImpl implements CurrentSysUserService {
    @Override
    public SysUser currentUser() {
        return SecurityUtils.getCurrentUser();
    }
}
